local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1
L0_1 = {}
L0_1.group_id = 250029001
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.monster_id = 21010301
L3_1 = {}
L3_1.x = 54.497
L3_1.y = 4.35
L3_1.z = -54.328
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 280.815
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1002
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 54.392
L4_1.y = 4.35
L4_1.z = -50.933
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 265.824
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 1003
L4_1.monster_id = 21010301
L5_1 = {}
L5_1.x = 56.732
L5_1.y = 4.35
L5_1.z = -50.61
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 257.377
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 1004
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = 56.833
L6_1.y = 4.35
L6_1.z = -54.401
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 293.839
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 1005
L6_1.monster_id = 21010301
L7_1 = {}
L7_1.x = 52.482
L7_1.y = 4.35
L7_1.z = -54.332
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 303.528
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 1006
L7_1.monster_id = 21010201
L8_1 = {}
L8_1.x = 52.8
L8_1.y = 4.35
L8_1.z = -50.837
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 258.239
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 1007
L8_1.monster_id = 21010301
L9_1 = {}
L9_1.x = 57.636
L9_1.y = 0.5
L9_1.z = -15.88
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 280.815
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 1008
L9_1.monster_id = 21010301
L10_1 = {}
L10_1.x = 57.531
L10_1.y = 0.5
L10_1.z = -12.485
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 265.824
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 1009
L10_1.monster_id = 21010201
L11_1 = {}
L11_1.x = 59.871
L11_1.y = 0.5
L11_1.z = -12.162
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 257.377
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 1010
L11_1.monster_id = 21010301
L12_1 = {}
L12_1.x = 59.972
L12_1.y = 0.5
L12_1.z = -15.954
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 293.839
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 1011
L12_1.monster_id = 21010301
L13_1 = {}
L13_1.x = 55.621
L13_1.y = 0.5
L13_1.z = -15.884
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 303.528
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 1012
L13_1.monster_id = 21010201
L14_1 = {}
L14_1.x = 55.939
L14_1.y = 0.5
L14_1.z = -12.39
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 258.239
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 1013
L14_1.monster_id = 21020201
L15_1 = {}
L15_1.x = 54.2
L15_1.y = 4.35
L15_1.z = -54.351
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 280.815
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 1014
L15_1.monster_id = 21010201
L16_1 = {}
L16_1.x = 54.095
L16_1.y = 4.35
L16_1.z = -50.956
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 265.824
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 1015
L16_1.monster_id = 21010201
L17_1 = {}
L17_1.x = 56.435
L17_1.y = 4.35
L17_1.z = -50.633
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 257.377
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 1016
L17_1.monster_id = 21010201
L18_1 = {}
L18_1.x = 56.536
L18_1.y = 4.35
L18_1.z = -54.425
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 293.839
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 1017
L18_1.monster_id = 21010201
L19_1 = {}
L19_1.x = 52.185
L19_1.y = 4.35
L19_1.z = -54.355
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 303.528
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 1018
L19_1.monster_id = 21010201
L20_1 = {}
L20_1.x = 52.503
L20_1.y = 4.35
L20_1.z = -50.861
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 258.239
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 1019
L20_1.monster_id = 21020201
L21_1 = {}
L21_1.x = 57.52
L21_1.y = 0.5
L21_1.z = -16.288
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 280.815
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 1020
L21_1.monster_id = 21010201
L22_1 = {}
L22_1.x = 57.415
L22_1.y = 0.5
L22_1.z = -12.892
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 265.824
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 1021
L22_1.monster_id = 21010201
L23_1 = {}
L23_1.x = 59.755
L23_1.y = 0.5
L23_1.z = -12.57
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 257.377
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 1022
L23_1.monster_id = 21010201
L24_1 = {}
L24_1.x = 59.856
L24_1.y = 0.5
L24_1.z = -16.361
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 293.839
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 1023
L24_1.monster_id = 21010201
L25_1 = {}
L25_1.x = 55.505
L25_1.y = 0.5
L25_1.z = -16.292
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 303.528
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L25_1 = {}
L25_1.config_id = 1024
L25_1.monster_id = 21010201
L26_1 = {}
L26_1.x = 55.823
L26_1.y = 0.5
L26_1.z = -12.797
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 258.239
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L26_1 = {}
L26_1.config_id = 1025
L26_1.monster_id = 21020101
L27_1 = {}
L27_1.x = 54.058
L27_1.y = 4.35
L27_1.z = -54.354
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 280.815
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 1026
L27_1.monster_id = 21010201
L28_1 = {}
L28_1.x = 53.953
L28_1.y = 4.35
L28_1.z = -50.959
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 265.824
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 1027
L28_1.monster_id = 21010201
L29_1 = {}
L29_1.x = 56.293
L29_1.y = 4.35
L29_1.z = -50.636
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 257.377
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 1028
L29_1.monster_id = 21010201
L30_1 = {}
L30_1.x = 56.394
L30_1.y = 4.35
L30_1.z = -54.427
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 293.839
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = {}
L30_1.config_id = 1029
L30_1.monster_id = 21010201
L31_1 = {}
L31_1.x = 52.043
L31_1.y = 4.35
L31_1.z = -54.358
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 303.528
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 1030
L31_1.monster_id = 21010201
L32_1 = {}
L32_1.x = 52.361
L32_1.y = 4.35
L32_1.z = -50.863
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 258.239
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L32_1 = {}
L32_1.config_id = 1031
L32_1.monster_id = 21020101
L33_1 = {}
L33_1.x = 57.554
L33_1.y = 0.5
L33_1.z = -16.683
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 280.815
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L33_1 = {}
L33_1.config_id = 1032
L33_1.monster_id = 21010201
L34_1 = {}
L34_1.x = 57.449
L34_1.y = 0.5
L34_1.z = -13.287
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 0.0
L34_1.y = 265.824
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L34_1 = {}
L34_1.config_id = 1033
L34_1.monster_id = 21010201
L35_1 = {}
L35_1.x = 59.789
L35_1.y = 0.5
L35_1.z = -12.965
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 0.0
L35_1.y = 257.377
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L35_1 = {}
L35_1.config_id = 1034
L35_1.monster_id = 21010201
L36_1 = {}
L36_1.x = 59.89
L36_1.y = 0.5
L36_1.z = -16.756
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 0.0
L36_1.y = 293.839
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L36_1 = {}
L36_1.config_id = 1035
L36_1.monster_id = 21010201
L37_1 = {}
L37_1.x = 55.539
L37_1.y = 0.5
L37_1.z = -16.687
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 0.0
L37_1.y = 303.528
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 1
L37_1 = {}
L37_1.config_id = 1036
L37_1.monster_id = 21010201
L38_1 = {}
L38_1.x = 55.858
L38_1.y = 0.5
L38_1.z = -13.192
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 0.0
L38_1.y = 258.239
L38_1.z = 0.0
L37_1.rot = L38_1
L37_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
L1_1[30] = L31_1
L1_1[31] = L32_1
L1_1[32] = L33_1
L1_1[33] = L34_1
L1_1[34] = L35_1
L1_1[35] = L36_1
L1_1[36] = L37_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1037
L2_1.gadget_id = 70350023
L3_1 = {}
L3_1.x = -43.424
L3_1.y = 4.392
L3_1.z = -31.98
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 1038
L3_1.gadget_id = 70350035
L4_1 = {}
L4_1.x = -43.424
L4_1.y = 4.392
L4_1.z = -31.98
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001039
L2_1.name = "GADGET_CREATE_1039"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_1039"
L2_1.action = "action_EVENT_GADGET_CREATE_1039"
L3_1 = {}
L3_1.config_id = 1001040
L3_1.name = "SELECT_OPTION_1040"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_1040"
L3_1.action = "action_EVENT_SELECT_OPTION_1040"
L4_1 = {}
L4_1.config_id = 1001041
L4_1.name = "ANY_MONSTER_DIE_1041"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1041"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_1041"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1001042
L5_1.name = "ANY_MONSTER_DIE_1042"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1042"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_1042"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1001043
L6_1.name = "ANY_MONSTER_DIE_1043"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_1043"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_1043"
L6_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "wave"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 1037
L5_1 = 1038
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_1039"
L5_1 = "SELECT_OPTION_1040"
L6_1 = "ANY_MONSTER_DIE_1041"
L7_1 = "ANY_MONSTER_DIE_1042"
L8_1 = "ANY_MONSTER_DIE_1043"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 1001
L6_1 = 1002
L7_1 = 1003
L8_1 = 1004
L9_1 = 1005
L10_1 = 1006
L11_1 = 1007
L12_1 = 1008
L13_1 = 1009
L14_1 = 1010
L15_1 = 1011
L16_1 = 1012
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 1013
L7_1 = 1014
L8_1 = 1015
L9_1 = 1016
L10_1 = 1017
L11_1 = 1018
L12_1 = 1019
L13_1 = 1020
L14_1 = 1021
L15_1 = 1022
L16_1 = 1023
L17_1 = 1024
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L5_1[12] = L17_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 1025
L8_1 = 1026
L9_1 = 1027
L10_1 = 1028
L11_1 = 1029
L12_1 = 1030
L13_1 = 1031
L14_1 = 1032
L15_1 = 1033
L16_1 = 1034
L17_1 = 1035
L18_1 = 1036
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L6_1[6] = L12_1
L6_1[7] = L13_1
L6_1[8] = L14_1
L6_1[9] = L15_1
L6_1[10] = L16_1
L6_1[11] = L17_1
L6_1[12] = L18_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 1037 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_CREATE_1039 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetWorktopOptionsByGroupId
  L3_2 = A0_2
  L4_2 = 0
  L5_2 = 1037
  L6_2 = {}
  L7_2 = 7
  L6_2[1] = L7_2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_CREATE_1039 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 1037 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = A1_2.param2
  if 7 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_SELECT_OPTION_1040 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250029001
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.DelWorktopOptionByGroupId
  L3_2 = A0_2
  L4_2 = 250029001
  L5_2 = 1037
  L6_2 = 7
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_SELECT_OPTION_1040 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "wave"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1041 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250029001
  L5_2 = 3
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValueByGroup
  L3_2 = A0_2
  L4_2 = "wave"
  L5_2 = 1
  L6_2 = 250029001
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1041 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "wave"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1042 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250029001
  L5_2 = 4
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValueByGroup
  L3_2 = A0_2
  L4_2 = "wave"
  L5_2 = 2
  L6_2 = 250029001
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1042 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupVariableValue
  L3_2 = A0_2
  L4_2 = "wave"
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_1043 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250029001
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupVariableValueByGroup
  L3_2 = A0_2
  L4_2 = "wave"
  L5_2 = 0
  L6_2 = 250029001
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_1043 = L1_1
